/*
 * Copyright © 2018 Cask Data, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

$title-color: white;
$header-height: 150px;

.cdap-body-container .modal.fade.show {
  .welcome-modal.modal-dialog {
    margin-top: 30vh;
    box-shadow: 0 5px 15px 1px rgba(0, 0, 0, 0.4);

    .modal-header,
    .modal-body {
      padding-left: 30px;
      padding-right: 30px;
    }

    .modal-content,
    .modal-header {
      border-radius: 0;
      border: none;
    }

    .modal-header {
      border-bottom: none;
      color: $title-color;
      background: no-repeat center/600px var(--welcome-banner-image);
      height: $header-height;
      padding-right: 15px;

      .modal-title {
        color: $title-color;
        line-height: $header-height;
        width: 100%;

        .header-text { font-size: 30px; }
        .close-section > .icon-svg {
          vertical-align: top;
          cursor: pointer;
        }
      }
    }

    .modal-body {
      p { font-size: 14px; }

      .show-again-selection {
        margin-top: 25px;
        margin-bottom: 25px;

        > span {
          cursor: pointer;

          .icon-svg { margin-right: 10px; }
          span {
            vertical-align: middle;
            user-select: none;
          }
        }
      }

      .action-buttons {
        .btn {
          padding-left: 30px;
          padding-right: 30px;

          &:first-child { margin-right: 15px; }
        }
      }
    }
  }
}
